package com.ntschy.bt.service;

import com.ntschy.bt.entity.dataobject.BtSupplyShop;
import java.util.List;

/**
 * <p>
 * 供需超市 服务类
 * </p>
 *
 * @author cm
 * @since 2020-12-28
 */
public interface IBtSupplyShopService {

    // * ================================================基础增删改查BEGIN============================================= *
    /**
     * 分页查询供需超市
     * 当前查询条件：根据供需超市名｜供需超市类别查询 时间倒序
     * @param supplyShop 供需超市对象
     * @return 供需超市列表
     */
    List<BtSupplyShop> pageSupplyShop(BtSupplyShop supplyShop);

    /**
     * 新增供需超市
     * @param supplyShop 供需超市对象
     * @return 新增结果
     */
    int addSupplyShop(BtSupplyShop supplyShop);

    /**
     * 更新供需超市
     * @param supplyShop 供需超市对象
     * @return 更新结果
     */
    int updateSupplyShop(BtSupplyShop supplyShop);

    /**
     * 删除供需超市
     * @param supplyShopId 供需超市ID
     * @return 删除结果
     */
    int deleteSupplyShop(String supplyShopId);
    
    // * =================================================基础增删改查END============================================== *


}
